<li id="post-<?php the_ID(); ?>" <?php post_class("clearfix"); ?>>
    
    <?php if( has_post_thumbnail() ) { ?>
        <div class="post-image">
            <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
                <?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'image-style4' ); ?>
                <?php echo '<img src="' . $src[0] . '" alt="" />'; ?>
            </a>
        </div>
    <?php } else { ?>
            <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
                    <?php echo '<img src="' . get_template_directory_uri() . '/images/image1.png" alt="" />'; ?>
            </a>		
    <?php } ?>
	
    <h3>
        <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
        <span class="article-meta clearfix">
            <?php the_field( 'especialidad' ); ?>
        </span>
    </h3>
	
</li>